﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class IoTbPositiveTransaction
    {
        public long SerialNo { get; set; }
        /// <summary>
        /// 原交易编号
        /// </summary>
        public string? Oinfno { get; set; }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public long RegNo { get; set; }
        /// <summary>
        /// 证件号
        /// </summary>
        public string? Certno { get; set; }
        /// <summary>
        /// 就诊id
        /// </summary>
        public string? MdtrtId { get; set; }
        /// <summary>
        /// 结算id
        /// </summary>
        public string? SetlId { get; set; }
        /// <summary>
        /// 人员编号
        /// </summary>
        public string? PsnNo { get; set; }
        /// <summary>
        /// 人员姓名
        /// </summary>
        public string? PsnName { get; set; }
        /// <summary>
        /// 医疗类别
        /// </summary>
        public string? MedType { get; set; }
        /// <summary>
        /// 行政区划
        /// </summary>
        public string? InsuplcAdmdvs { get; set; }
        /// <summary>
        /// 医疗费用总额
        /// </summary>
        public decimal? MedfeeSumamt { get; set; }
        /// <summary>
        /// 结算时间
        /// </summary>
        public DateTime? SetlTime { get; set; }
        /// <summary>
        /// 消息id
        /// </summary>
        public string? MsgId { get; set; }
        /// <summary>
        /// 是否单边，默认0单边（0单边，1正常，2已冲正）
        /// </summary>
        public byte? Status { get; set; }
        public int? CreateUserId { get; set; }
        public DateTime? CreateOn { get; set; }
        public int? UpdateUserId { get; set; }
        public DateTime? UpdateOn { get; set; }
        public int HospitalId { get; set; }
        public DateTime? OpTime { get; set; }
    }
}
